package edu.neelsys.objectmodel.dbentites;

import java.io.Serializable;
import javax.persistence.*;

import edu.neelsys.objectmodel.dbentites.UserRoleEnum;

import java.math.BigInteger;
import java.util.Date;


/**
 * The persistent class for the user database table.
 * 
 */
@Entity
@Table(name="user")
public class User implements Serializable {
	private static final long serialVersionUID = 1L;
	
	@Id
	private String id;
	private String address;
	private int adharcard;
	private String aim;
	private byte ajax;
	private byte autosubscribe;
	private String city;
	private Date collegeentrydate;
	private Date collegegraduationdate;
	private String collegehallticketnumber;
	private String collegelocation;
	private String collegetype;
	private String collegeuniversitytype;
	private byte confirmed;
	private String country;
	private BigInteger currentlogin;
	private String currentmailingaddress;
	private String currentmostcollegeuniversity;
	private String currentmostschool;
	private String currentmostsecondarybachelor;
	private String currentmostsecondarycollege;
	private Date dateofbirth;
	private byte deleted;
	private String department;
	private String description;
	private byte descriptionformat;
	private String email;
	private String emailaddress;
	private byte emailstop;
	private Date entrydate;
	private Date entrydatebachelor;
	private Date entrydatemasters;
	private int fax;
	private BigInteger firstaccess;
	private String firstname;
	private String gender;
	private int govtrecognizedid;
	private Date graduationdate;
	private Date graduationdatebachelor;
	private Date graduationdatemasters;
	private String hallticketnumber;
	private String hallticketnumberbachelor;
	private String hallticketnumbermasters;
	private byte htmleditor;
	private String icq;
	private String idnumber;
	private String imagealt;
	private String institution;
	private String lang;
	private BigInteger lastaccess;
	private String lastip;
	private BigInteger lastlogin;
	private String lastname;
	private String locationbachelor;
	private String locationmasters;
	private byte maildigest;
	private byte maildisplay;
	private byte mailformat;
	private String maritalstatus;
	private int markssecured;
	private int markssecuredbachelor;
	private int markssecuredcollege;
	private int markssecuredmasters;
	private String middlename;
	private BigInteger mnethostid;
	private String mothersmaidenname;
	private String msn;
	private String nationality;
	private String password;
	private String permanenthomeaddress;
	private int phone1;
	private int phone2;
	private byte picture;
	private int pinpostal;
	private String placeofbirth;
	private byte policyagreed;
	private String schoollocation;
	private String schooltype;
	private String schooltypebachelor;
	private byte screenreader;
	private String secret;
	private String skype;
	private String stateprovince;
	private byte suspended;
	private String theme;
	private BigInteger timecreated;
	private BigInteger timemodified;
	private String timezone;
	private int totalmarks;
	private int totalmarksbachelor;
	private int totalmarksincollege;
	private int totalmarksmasters;
	private byte trackforums;
	private BigInteger trustbitmask;
	private String universityaffiliation;
	private String url;
	
	@Column(name = "user_name", nullable = false, length = 100)
	private String userName;
	
	@Enumerated(EnumType.STRING)
	@Column(name = "user_role", nullable = false, length = 1)
	private UserRoleEnum userRole;

	private String yahoo;

    public User() {
    }


	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	@Column(unique=true, nullable=false)
	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}


	@Column(length=70)
	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}


	public int getAdharcard() {
		return this.adharcard;
	}

	public void setAdharcard(int adharcard) {
		this.adharcard = adharcard;
	}


	@Column(length=50)
	public String getAim() {
		return this.aim;
	}

	public void setAim(String aim) {
		this.aim = aim;
	}


	public byte getAjax() {
		return this.ajax;
	}

	public void setAjax(byte ajax) {
		this.ajax = ajax;
	}


	public byte getAutosubscribe() {
		return this.autosubscribe;
	}

	public void setAutosubscribe(byte autosubscribe) {
		this.autosubscribe = autosubscribe;
	}


	@Column(length=120)
	public String getCity() {
		return this.city;
	}

	public void setCity(String city) {
		this.city = city;
	}


    @Temporal( TemporalType.DATE)
	public Date getCollegeentrydate() {
		return this.collegeentrydate;
	}

	public void setCollegeentrydate(Date collegeentrydate) {
		this.collegeentrydate = collegeentrydate;
	}


    @Temporal( TemporalType.DATE)
	public Date getCollegegraduationdate() {
		return this.collegegraduationdate;
	}

	public void setCollegegraduationdate(Date collegegraduationdate) {
		this.collegegraduationdate = collegegraduationdate;
	}


	@Column(length=45)
	public String getCollegehallticketnumber() {
		return this.collegehallticketnumber;
	}

	public void setCollegehallticketnumber(String collegehallticketnumber) {
		this.collegehallticketnumber = collegehallticketnumber;
	}


	@Column(length=45)
	public String getCollegelocation() {
		return this.collegelocation;
	}

	public void setCollegelocation(String collegelocation) {
		this.collegelocation = collegelocation;
	}


	@Column(length=7)
	public String getCollegetype() {
		return this.collegetype;
	}

	public void setCollegetype(String collegetype) {
		this.collegetype = collegetype;
	}


	@Column(length=7)
	public String getCollegeuniversitytype() {
		return this.collegeuniversitytype;
	}

	public void setCollegeuniversitytype(String collegeuniversitytype) {
		this.collegeuniversitytype = collegeuniversitytype;
	}


	public byte getConfirmed() {
		return this.confirmed;
	}

	public void setConfirmed(byte confirmed) {
		this.confirmed = confirmed;
	}


	@Column(length=2)
	public String getCountry() {
		return this.country;
	}

	public void setCountry(String country) {
		this.country = country;
	}


	public BigInteger getCurrentlogin() {
		return this.currentlogin;
	}

	public void setCurrentlogin(BigInteger currentlogin) {
		this.currentlogin = currentlogin;
	}


	@Column(length=45)
	public String getCurrentmailingaddress() {
		return this.currentmailingaddress;
	}

	public void setCurrentmailingaddress(String currentmailingaddress) {
		this.currentmailingaddress = currentmailingaddress;
	}


	@Column(length=45)
	public String getCurrentmostcollegeuniversity() {
		return this.currentmostcollegeuniversity;
	}

	public void setCurrentmostcollegeuniversity(String currentmostcollegeuniversity) {
		this.currentmostcollegeuniversity = currentmostcollegeuniversity;
	}


	@Column(length=45)
	public String getCurrentmostschool() {
		return this.currentmostschool;
	}

	public void setCurrentmostschool(String currentmostschool) {
		this.currentmostschool = currentmostschool;
	}


	@Column(length=45)
	public String getCurrentmostsecondarybachelor() {
		return this.currentmostsecondarybachelor;
	}

	public void setCurrentmostsecondarybachelor(String currentmostsecondarybachelor) {
		this.currentmostsecondarybachelor = currentmostsecondarybachelor;
	}


	@Column(length=45)
	public String getCurrentmostsecondarycollege() {
		return this.currentmostsecondarycollege;
	}

	public void setCurrentmostsecondarycollege(String currentmostsecondarycollege) {
		this.currentmostsecondarycollege = currentmostsecondarycollege;
	}


    @Temporal( TemporalType.DATE)
	public Date getDateofbirth() {
		return this.dateofbirth;
	}

	public void setDateofbirth(Date dateofbirth) {
		this.dateofbirth = dateofbirth;
	}


	public byte getDeleted() {
		return this.deleted;
	}

	public void setDeleted(byte deleted) {
		this.deleted = deleted;
	}


	@Column(length=30)
	public String getDepartment() {
		return this.department;
	}

	public void setDepartment(String department) {
		this.department = department;
	}


	@Column(length=255)
	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}


	public byte getDescriptionformat() {
		return this.descriptionformat;
	}

	public void setDescriptionformat(byte descriptionformat) {
		this.descriptionformat = descriptionformat;
	}


	@Column(length=100)
	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}


	@Column(length=45)
	public String getEmailaddress() {
		return this.emailaddress;
	}

	public void setEmailaddress(String emailaddress) {
		this.emailaddress = emailaddress;
	}


	public byte getEmailstop() {
		return this.emailstop;
	}

	public void setEmailstop(byte emailstop) {
		this.emailstop = emailstop;
	}


    @Temporal( TemporalType.DATE)
	public Date getEntrydate() {
		return this.entrydate;
	}

	public void setEntrydate(Date entrydate) {
		this.entrydate = entrydate;
	}


    @Temporal( TemporalType.DATE)
	public Date getEntrydatebachelor() {
		return this.entrydatebachelor;
	}

	public void setEntrydatebachelor(Date entrydatebachelor) {
		this.entrydatebachelor = entrydatebachelor;
	}


    @Temporal( TemporalType.DATE)
	public Date getEntrydatemasters() {
		return this.entrydatemasters;
	}

	public void setEntrydatemasters(Date entrydatemasters) {
		this.entrydatemasters = entrydatemasters;
	}


	public int getFax() {
		return this.fax;
	}

	public void setFax(int fax) {
		this.fax = fax;
	}


	public BigInteger getFirstaccess() {
		return this.firstaccess;
	}

	public void setFirstaccess(BigInteger firstaccess) {
		this.firstaccess = firstaccess;
	}


	@Column(length=100)
	public String getFirstname() {
		return this.firstname;
	}

	public void setFirstname(String firstname) {
		this.firstname = firstname;
	}


	@Column(length=6)
	public String getGender() {
		return this.gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}


	public int getGovtrecognizedid() {
		return this.govtrecognizedid;
	}

	public void setGovtrecognizedid(int govtrecognizedid) {
		this.govtrecognizedid = govtrecognizedid;
	}


    @Temporal( TemporalType.DATE)
	public Date getGraduationdate() {
		return this.graduationdate;
	}

	public void setGraduationdate(Date graduationdate) {
		this.graduationdate = graduationdate;
	}


    @Temporal( TemporalType.DATE)
	public Date getGraduationdatebachelor() {
		return this.graduationdatebachelor;
	}

	public void setGraduationdatebachelor(Date graduationdatebachelor) {
		this.graduationdatebachelor = graduationdatebachelor;
	}


    @Temporal( TemporalType.DATE)
	public Date getGraduationdatemasters() {
		return this.graduationdatemasters;
	}

	public void setGraduationdatemasters(Date graduationdatemasters) {
		this.graduationdatemasters = graduationdatemasters;
	}


	@Column(length=45)
	public String getHallticketnumber() {
		return this.hallticketnumber;
	}

	public void setHallticketnumber(String hallticketnumber) {
		this.hallticketnumber = hallticketnumber;
	}


	@Column(length=45)
	public String getHallticketnumberbachelor() {
		return this.hallticketnumberbachelor;
	}

	public void setHallticketnumberbachelor(String hallticketnumberbachelor) {
		this.hallticketnumberbachelor = hallticketnumberbachelor;
	}


	@Column(length=45)
	public String getHallticketnumbermasters() {
		return this.hallticketnumbermasters;
	}

	public void setHallticketnumbermasters(String hallticketnumbermasters) {
		this.hallticketnumbermasters = hallticketnumbermasters;
	}


	public byte getHtmleditor() {
		return this.htmleditor;
	}

	public void setHtmleditor(byte htmleditor) {
		this.htmleditor = htmleditor;
	}


	@Column(length=15)
	public String getIcq() {
		return this.icq;
	}

	public void setIcq(String icq) {
		this.icq = icq;
	}


	@Column(length=255)
	public String getIdnumber() {
		return this.idnumber;
	}

	public void setIdnumber(String idnumber) {
		this.idnumber = idnumber;
	}


	@Column(length=255)
	public String getImagealt() {
		return this.imagealt;
	}

	public void setImagealt(String imagealt) {
		this.imagealt = imagealt;
	}


	@Column(length=40)
	public String getInstitution() {
		return this.institution;
	}

	public void setInstitution(String institution) {
		this.institution = institution;
	}


	@Column(length=30)
	public String getLang() {
		return this.lang;
	}

	public void setLang(String lang) {
		this.lang = lang;
	}


	public BigInteger getLastaccess() {
		return this.lastaccess;
	}

	public void setLastaccess(BigInteger lastaccess) {
		this.lastaccess = lastaccess;
	}


	@Column(length=45)
	public String getLastip() {
		return this.lastip;
	}

	public void setLastip(String lastip) {
		this.lastip = lastip;
	}


	public BigInteger getLastlogin() {
		return this.lastlogin;
	}

	public void setLastlogin(BigInteger lastlogin) {
		this.lastlogin = lastlogin;
	}


	@Column(length=100)
	public String getLastname() {
		return this.lastname;
	}

	public void setLastname(String lastname) {
		this.lastname = lastname;
	}


	@Column(length=45)
	public String getLocationbachelor() {
		return this.locationbachelor;
	}

	public void setLocationbachelor(String locationbachelor) {
		this.locationbachelor = locationbachelor;
	}


	@Column(length=45)
	public String getLocationmasters() {
		return this.locationmasters;
	}

	public void setLocationmasters(String locationmasters) {
		this.locationmasters = locationmasters;
	}


	public byte getMaildigest() {
		return this.maildigest;
	}

	public void setMaildigest(byte maildigest) {
		this.maildigest = maildigest;
	}


	public byte getMaildisplay() {
		return this.maildisplay;
	}

	public void setMaildisplay(byte maildisplay) {
		this.maildisplay = maildisplay;
	}


	public byte getMailformat() {
		return this.mailformat;
	}

	public void setMailformat(byte mailformat) {
		this.mailformat = mailformat;
	}


	@Column(length=7)
	public String getMaritalstatus() {
		return this.maritalstatus;
	}

	public void setMaritalstatus(String maritalstatus) {
		this.maritalstatus = maritalstatus;
	}


	public int getMarkssecured() {
		return this.markssecured;
	}

	public void setMarkssecured(int markssecured) {
		this.markssecured = markssecured;
	}


	public int getMarkssecuredbachelor() {
		return this.markssecuredbachelor;
	}

	public void setMarkssecuredbachelor(int markssecuredbachelor) {
		this.markssecuredbachelor = markssecuredbachelor;
	}


	public int getMarkssecuredcollege() {
		return this.markssecuredcollege;
	}

	public void setMarkssecuredcollege(int markssecuredcollege) {
		this.markssecuredcollege = markssecuredcollege;
	}


	public int getMarkssecuredmasters() {
		return this.markssecuredmasters;
	}

	public void setMarkssecuredmasters(int markssecuredmasters) {
		this.markssecuredmasters = markssecuredmasters;
	}


	@Column(length=100)
	public String getMiddlename() {
		return this.middlename;
	}

	public void setMiddlename(String middlename) {
		this.middlename = middlename;
	}


	public BigInteger getMnethostid() {
		return this.mnethostid;
	}

	public void setMnethostid(BigInteger mnethostid) {
		this.mnethostid = mnethostid;
	}


	@Column(length=45)
	public String getMothersmaidenname() {
		return this.mothersmaidenname;
	}

	public void setMothersmaidenname(String mothersmaidenname) {
		this.mothersmaidenname = mothersmaidenname;
	}


	@Column(length=50)
	public String getMsn() {
		return this.msn;
	}

	public void setMsn(String msn) {
		this.msn = msn;
	}


	@Column(length=45)
	public String getNationality() {
		return this.nationality;
	}

	public void setNationality(String nationality) {
		this.nationality = nationality;
	}


	@Column(length=32)
	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}


	@Column(length=45)
	public String getPermanenthomeaddress() {
		return this.permanenthomeaddress;
	}

	public void setPermanenthomeaddress(String permanenthomeaddress) {
		this.permanenthomeaddress = permanenthomeaddress;
	}


	public int getPhone1() {
		return this.phone1;
	}

	public void setPhone1(int phone1) {
		this.phone1 = phone1;
	}


	public int getPhone2() {
		return this.phone2;
	}

	public void setPhone2(int phone2) {
		this.phone2 = phone2;
	}


	public byte getPicture() {
		return this.picture;
	}

	public void setPicture(byte picture) {
		this.picture = picture;
	}


	public int getPinpostal() {
		return this.pinpostal;
	}

	public void setPinpostal(int pinpostal) {
		this.pinpostal = pinpostal;
	}


	@Column(length=45)
	public String getPlaceofbirth() {
		return this.placeofbirth;
	}

	public void setPlaceofbirth(String placeofbirth) {
		this.placeofbirth = placeofbirth;
	}


	public byte getPolicyagreed() {
		return this.policyagreed;
	}

	public void setPolicyagreed(byte policyagreed) {
		this.policyagreed = policyagreed;
	}


	@Column(length=45)
	public String getSchoollocation() {
		return this.schoollocation;
	}

	public void setSchoollocation(String schoollocation) {
		this.schoollocation = schoollocation;
	}


	@Column(length=7)
	public String getSchooltype() {
		return this.schooltype;
	}

	public void setSchooltype(String schooltype) {
		this.schooltype = schooltype;
	}


	@Column(length=7)
	public String getSchooltypebachelor() {
		return this.schooltypebachelor;
	}

	public void setSchooltypebachelor(String schooltypebachelor) {
		this.schooltypebachelor = schooltypebachelor;
	}


	public byte getScreenreader() {
		return this.screenreader;
	}

	public void setScreenreader(byte screenreader) {
		this.screenreader = screenreader;
	}


	@Column(length=15)
	public String getSecret() {
		return this.secret;
	}

	public void setSecret(String secret) {
		this.secret = secret;
	}


	@Column(length=50)
	public String getSkype() {
		return this.skype;
	}

	public void setSkype(String skype) {
		this.skype = skype;
	}


	@Column(length=45)
	public String getStateprovince() {
		return this.stateprovince;
	}

	public void setStateprovince(String stateprovince) {
		this.stateprovince = stateprovince;
	}


	public byte getSuspended() {
		return this.suspended;
	}

	public void setSuspended(byte suspended) {
		this.suspended = suspended;
	}


	@Column(length=50)
	public String getTheme() {
		return this.theme;
	}

	public void setTheme(String theme) {
		this.theme = theme;
	}


	public BigInteger getTimecreated() {
		return this.timecreated;
	}

	public void setTimecreated(BigInteger timecreated) {
		this.timecreated = timecreated;
	}


	public BigInteger getTimemodified() {
		return this.timemodified;
	}

	public void setTimemodified(BigInteger timemodified) {
		this.timemodified = timemodified;
	}


	@Column(length=100)
	public String getTimezone() {
		return this.timezone;
	}

	public void setTimezone(String timezone) {
		this.timezone = timezone;
	}


	public int getTotalmarks() {
		return this.totalmarks;
	}

	public void setTotalmarks(int totalmarks) {
		this.totalmarks = totalmarks;
	}


	public int getTotalmarksbachelor() {
		return this.totalmarksbachelor;
	}

	public void setTotalmarksbachelor(int totalmarksbachelor) {
		this.totalmarksbachelor = totalmarksbachelor;
	}


	public int getTotalmarksincollege() {
		return this.totalmarksincollege;
	}

	public void setTotalmarksincollege(int totalmarksincollege) {
		this.totalmarksincollege = totalmarksincollege;
	}


	public int getTotalmarksmasters() {
		return this.totalmarksmasters;
	}

	public void setTotalmarksmasters(int totalmarksmasters) {
		this.totalmarksmasters = totalmarksmasters;
	}


	public byte getTrackforums() {
		return this.trackforums;
	}

	public void setTrackforums(byte trackforums) {
		this.trackforums = trackforums;
	}


	public BigInteger getTrustbitmask() {
		return this.trustbitmask;
	}

	public void setTrustbitmask(BigInteger trustbitmask) {
		this.trustbitmask = trustbitmask;
	}


	@Column(length=45)
	public String getUniversityaffiliation() {
		return this.universityaffiliation;
	}

	public void setUniversityaffiliation(String universityaffiliation) {
		this.universityaffiliation = universityaffiliation;
	}


	@Column(length=255)
	public String getUrl() {
		return this.url;
	}

	public void setUrl(String url) {
		this.url = url;
	}


	@Column(name="user_name", length=100)
	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}


	@Column(name="user_role", nullable=false, length=1)
	public UserRoleEnum getUserRole() {
		return this.userRole;
	}

	public void setUserRole(UserRoleEnum userRole) {
		this.userRole = userRole;
	}


	@Column(length=50)
	public String getYahoo() {
		return this.yahoo;
	}

	public void setYahoo(String yahoo) {
		this.yahoo = yahoo;
	}

}